package com.caxxb.service.impl;

import com.caxxb.dao.GameTypeDao;
import com.caxxb.dao.impl.GameTypeDaoImpl;
import com.caxxb.entity.GameType;
import com.caxxb.service.GameTypeService;

import java.util.List;

public class GameTypeServiceImpl implements GameTypeService {

    private GameTypeDao gameTypeDao=new GameTypeDaoImpl();

    @Override
    public List<GameType> getTypes() {
        return gameTypeDao.getTypes();
    }

    @Override
    public String getTypeName(int id) {
        return gameTypeDao.getTypeName(id);
    }
}
